package by.semerikov.dao;

import java.sql.Connection;
import java.util.List;

import by.semerikov.exceptions.DAOException;

public interface IDAO<T> {
	
	public void create(T object)throws DAOException; 
	public List<T> read(T object) throws DAOException;
	public void update(T object)throws DAOException;
	public void delete(T object)throws DAOException; 
	
	public void setConnection(Connection conn);
	
}
